/*
 * @Author: delin66
 * @Date: 2024-12-01 18:04:42
 * @LastEditors: delin66
 * @LastEditTime: 2025-05-04 15:23:08
 * @Descripttion:
 */
import type { RouteRecordRaw } from 'vue-router';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'index',
    redirect:'home',
    component: () => import('@/views/index/index.vue'),
    meta: {
      title: '',
    },
    children: [
      {
        path: '/home',
        name: 'home',
        component: () => import('@/views/home/index.vue'),
        meta: {
          title: '首页',
        },
      },
      // 公共资源
      {
        path: '/assets',
        name: 'assets',
        redirect: '/assets/create-meeting',
        meta: {
          title: '公共资源申请',
        },
        children: [
          {
            path: 'create-meeting',
            name: 'createMeeting',
            component: () => import('@/views/create-meeting/index.vue'),
            meta: {
              auth: true,
              title: '创建会议',
            },
          },
          {
            path: 'meeting-list',
            name: 'meetingList',
            component: () => import('@/views/meeting-list/index.vue'),
            meta: {
              auth: true,
              title: '会议列表',
            },
          },
          {
            path: 'intended-meeting',
            name: 'intendedMeeting',
            component: () => import('@/views/intended-meeting/index.vue'),
            meta: {
              auth: true,
              title: '预定会议',
            },
          },
          {
            path: 'room-list',
            name: 'roomList',
            component: () => import('@/views/room-list/index.vue'),
            meta: {
              auth: true,
              title: '会议室列表',
            },
          },
          {
            path: 'library',
            name: 'library',
            // component:() => import('@/views/foster/enterprises/index.vue'),
            // beforeEnter() {
            //   window.open('https://www.guet.edu.cn/lib/4640/list.htm', '_blank');
            // },
            redirect: () => {
              window.open('https://www.guet.edu.cn/lib/4640/list.htm', '_blank');
              return '/home'; // 返回一个有效路径（可以是主页或其他）
            },
            meta: {
              title: '图书馆文献查询',
            },
          },
          {
            path: 'public-service',
            name: 'publicService',
            component: () => import('@/views/public-service/index.vue'),
            meta: {
              title: '公共服务',
            },
          },
        ],
      },
      //登录
      {
        path: '/login',
        name: 'login',
        component: () => import('@/views/login/index.vue'),
        meta: {
          isNavNotShow: true,
          title: '登录',
        },
      },
      {
        path: '/register',
        name: 'register',
        component: () => import('@/views/register/index.vue'),
        meta: {
          isNavNotShow: true,
          title: '注册',
        },
      },
      {
        path: '/appeal',
        name: 'appeal',
        component: () => import('@/views/appeal/index.vue'),
        meta: {
          isNavNotShow: true,
          title: '找回密码',
        },
      },
      {
        path: '/chat',
        name: 'chat',
        component: () => import('@/views/chat/index.vue'),
        meta: {
          auth: true,
          title: '聊天',
        },
      },
      {
        path: '/download',
        name: 'download',
        component: () => import('@/views/download/index.vue'),
        meta: {
          auth: true,
          title: '资料下载',
        },
      },
      //园区概况
      {
        path: '/park-service',
        name: 'parkService',
        redirect: '/park-service/park-introduce',
        meta: {
          title: '园区介绍',
        },
        children: [
          {
            path: '/park-service/park-introduce',
            name: 'parkIntroduce',
            component: () => import('@/views/park-service/park-introduce/index.vue'),
            meta: {
              title: '园区简介',
            },
          },
          {
            path: '/park-service/park-policy',
            name: 'parkPolicy',
            component: () => import('@/views/park-service/park-policy/index.vue'),
            redirect: '/park-service/park-policy/kjy-management',
            meta: {
              title: '园区政策',
            },
            children: [
              {
                path: '/park-service/park-policy/kjy-management',
                name: 'kjyManagement',
                component: () =>
                  import('@/views/park-service/park-policy/kjy-management/index.vue'),
                meta: {
                  title: '桂林电子科技大学科技园管理办法',
                },
              },
              {
                path: '/park-service/park-policy/zhongchuang-management',
                name: 'zhongchuangManagement',
                component: () =>
                  import('@/views/park-service/park-policy/zhongchuang-management/index.vue'),
                meta: {
                  title: '桂林电子科技大学科技园众创空间管理办法',
                },
              },
              {
                path: '/park-service/park-policy/innovation-service-management',
                name: 'innovationManagement',
                component: () =>
                  import(
                    '@/views/park-service/park-policy/innovation-service-management/index.vue'
                  ),
                meta: {
                  title: '桂林电子科技大学科技园两帮九助创新创业服务管理办法',
                },
              },
            ],
          },
          {
            path: '/park-service/park-institution',
            name: 'parkInstitution',
            component: () => import('@/views/park-service/park-institution/index.vue'),
            meta: {
              title: '机构设置',
            },
          },
          //入园流程及条件
          {
            path: '/park-service/park-enter-step',
            name: 'parkIntroduceStep',
            component: () => import('@/views/park-service/park-enter-step/index.vue'),
            redirect: '/park-service/park-enter-step/park-condition-kjy',
            meta: {
              title: '入园条件及流程',
            },
            children: [
              // {
              //   path: '/park-service/park-enter-step/enter-park',
              //   name: 'enterPark',
              //   component: () =>
              //     import('@/views/park-service/park-enter-step/enter-park/index.vue'),
              //   meta: {
              //     title: '入园条件',
              //   },
              // },
              {
                path: '/park-service/park-enter-step/park-condition',
                name: 'parkCondition',
                component: () =>
                  import('@/views/park-service/park-enter-step/park-condition/index.vue'),
                meta: {
                  title: '众创空间入园条件',
                },
              },
              {
                path: '/park-service/park-enter-step/park-condition-step',
                name: 'parkstep',
                component: () =>
                    import('@/views/park-service/park-enter-step/park-condition-step/index.vue'),
                meta: {
                  title: '众创空间入园流程',
                },
              },
              {
                path: '/park-service/park-enter-step/park-condition-kjy',
                name: 'parkConditionKjy',
                component: () =>
                  import('@/views/park-service/park-enter-step/park-condition-kjy/index.vue'),
                meta: {
                  title: '大学科技园入园入驻条件',
                },
              },
              {
                path: '/park-service/park-enter-step/park-step',
                name: 'parkstepKjy',
                component: () =>
                    import('@/views/park-service/park-enter-step/park-step/index.vue'),
                meta: {
                  title: '大学科技园入驻流程',
                },
              },
            ],
          },
          // 荣誉与资质
          {
            path: 'honor',
            name: 'honor',
            component: () => import('@/views/park-service/honor/index.vue'),
            meta: {
              title: '荣誉与资质',
            },
          },
        ],
      },
      //信息动态
      {
        path: 'information-dynamic',
        name: 'informationDynamic',
        redirect: '/information-dynamic/notice-announcement',
        meta: {
          title: '信息动态',
        },
        children: [
          {
            path: 'notice-announcement',
            name: 'noticeAnnouncement',
            component: () => import('@/views/information-dynamic/notice-announcement/index.vue'),
            meta: {
              title: '通知公告',
            },
          },
          {
            path: 'park-dynamics',
            name: 'parkDynamics',
            component: () => import('@/views/information-dynamic/park-dynamics/index.vue'),
            meta: {
              title: '园区动态',
            },
          },
          {
            path: 'investment-information',
            name: 'investmentInformation',
            component: () => import('@/views/information-dynamic/investment-information/index.vue'),
            meta: {
              title: '招商信息',
              hidden: true,
            },
          },
        ],
      },
      //企业服务
      {
        path: '/enterprise-service',
        name: 'enterpriseServiceRoot',
        redirect: '/enterprise-service/enterprises',
        meta: {
          title: '企业服务',
        },
        children: [
          //企业风采
          {
            path: 'enterprises',
            name: 'enterprises',
            component: () => import('@/views/foster/enterprises/index.vue'),
            redirect: '/enterprise-service/enterprises/enterprise-window',
            meta: {
              title: '企业风采',
            },
            children: [
              {
                path: 'enterprise-window',
                name: '企业之窗',
                component: () => import('@/views/foster/enterprises/enterprise-window/index.vue'),
                meta: {
                  title: '企业之窗',
                },
              },
              {
                path: 'high-enterprise',
                name: '高新技术企业',
                component: () => import('@/views/foster/enterprises/high-enterprise/index.vue'),
                meta: {
                  title: '高新技术企业',
                },
              },
              {
                path: 'honor',
                name: '企业荣誉',
                component: () => import('@/views/foster/enterprises/honor/index.vue'),
              },
            ],
          },
          {
            path: 'enterprise-detail',
            name: 'enterpriseDetail',
            component: () => import('@/views/foster/enterprise-detail/index.vue'),
            meta: {
              title: '企业详情',
            },
          },
          // 企业培育与孵化
          {
            path: 'foster',
            name: 'foster',
            redirect: '/enterprise-service/foster/policy',
            meta: {
              title: '企业培育与孵化',
            },
            component: () => import('@/views/foster/index.vue'),
            children: [
              {
                path: 'enterprise-activity',
                name: 'enterpriseActivity',
                component: () => import('@/views/foster/enterprise-activity/index.vue'),
                meta: {
                  title: '企业活动',
                },
              },

              {
                path: 'policy',
                name: 'policy',
                component: () => import('@/views/foster/policy/index.vue'),
                meta: {
                  title: '高企政策动态',
                },
              },
              // {
              //   path: 'guide',
              //   name: 'guide',
              //   component: () => import('@/views/foster/guide/index.vue'),
              //   meta: {
              //     title: '高企申报辅导',
              //   },
              // },
              {
                path: 'policy-small',
                name: 'policySmall',
                component: () => import('@/views/foster/policy-small/index.vue'),
                meta: {
                  title: '科技型中小企业政策动态',
                },
              },
              // {
              //   path: 'guide-small',
              //   name: 'guideSmall',
              //   component: () => import('@/views/foster/guide-small/index.vue'),
              //   meta: {
              //     title: '科技型中小企业申报辅导',
              //   },
              // },
              {
                path: 'project-application',
                name: 'projectApplication',
                component: () => import('@/views/foster/project-application/index.vue'),
                meta: {
                  title: '项目申报',
                },
              },
            ],
          },
          // 咨询与服务
          {
            path: 'consult',
            name: 'consult',
            redirect: '/enterprise-service/consult/service-list',
            component: () => import('@/views/consult/index.vue'),
            meta: {
              title: '咨询与服务',
            },
            children: [
              //服务机构
              {
                path: 'service-list',
                name: 'service-list',
                component: () => import('@/views/consult/service-list/index.vue'),
                meta: {
                  title: '服务机构',
                },
              },
              // 服务机构详情
              {
                path: 'service-detail',
                name: 'service-detail',
                component: () => import('@/views/consult/service-detail/index.vue'),
                meta: {
                  title: '服务机构详情',
                },
              },
              {
                path: 'lecturer',
                name: 'lecturer',
                component: () => import('@/views/consult/lecturer/index.vue'),
                meta: {
                  title: '讲师',
                },
              },
              {
                path: 'lecturer-detail',
                name: 'lecturerDetail',
                component: () => import('@/views/consult/lecturer-detail/index.vue'),
                meta: {
                  title: '讲师详情',
                },
              },
              {
                path: 'technician',
                name: 'technician',
                component: () => import('@/views/consult/technician/index.vue'),
                meta: {
                  title: '技术专家',
                },
              },
              {
                path: 'technician-detail',
                name: 'technicianDetail',
                component: () => import('@/views/consult/technician-detail/index.vue'),
                meta: {
                  title: '技术专家详情',
                },
              },
              {
                path: 'mentors',
                name: 'mentors',
                component: () => import('@/views/consult/mentors/index.vue'),
                meta: {
                  title: '创业导师专家库',
                },
              },
              {
                path: 'mentors-detail',
                name: 'mentorsDetail',
                component: () => import('@/views/consult/mentors-detail/index.vue'),
                meta: {
                  title: '创业导师详情',
                },
              },
              {
                path: 'specialists',
                name: 'specialists',
                component: () => import('@/views/consult/specialists/index.vue'),
                meta: {
                  title: '成果转化专员库',
                },
              },
              {
                path: 'specialists-detail',
                name: 'specialistsDetail',
                component: () => import('@/views/consult/specialists-detail/index.vue'),
                meta: {
                  title: '成果转化专员详情',
                },
              },
            ],
          },
          //创新创业培训
          {
            path: 'innovation-training',
            name: 'innovationTraining',
            component: () => import('@/views/innovation-training/index.vue'),
            meta: {
              title: '创新创业培训',
            },
          },
        ],
      },
      // 成果转换
      {
        path: '/transform',
        name: 'transform',
        redirect: '/transform/needs',
        meta: {
          title: '科技成果转化',
        },
        children: [
          {
            path: 'needs',
            name: 'needs',
            component: () => import('@/views/result/needs/index.vue'),
            meta: {
              title: '需求列表',
            },
          },
          {
            path: 'need/detail',
            name: 'needDetail',
            component: () => import('@/views/result/need-detail/index.vue'),
            meta: {
              auth: true,
              title: '需求详情',
            },
          },
          {
            path: 'publish-need',
            name: 'publishNeed',
            component: () => import('@/views/result/publish-need/index.vue'),
            meta: {
              auth: true,
              title: '发布需求',
            },
          },
          {
            path: 'achievements',
            name: 'achievements',
            component: () => import('@/views/result/achievements/index.vue'),
            meta: {
              title: '科技成果',
            },
          },
          {
            path: 'achievement/detail',
            name: 'achievementDetail',
            component: () => import('@/views/result/achievement-detail/index.vue'),
            meta: {
              auth: true,
              title: '成果详情',
            },
          },
          {
            path: 'publish-achievement',
            name: 'publishAchievement',
            component: () => import('@/views/result/publish-achievement/index.vue'),
            meta: {
              auth: true,
              title: '发布成果',
            },
          },
        ],
      },
      //政策法规
      {
        path: '/policy-regulation',
        name: 'policyRegulation',
        redirect: '/policy-regulations/local-policy',
        meta: {
          title: '政策法规',
        },
        children: [
          {
            path: 'local-policy',
            name: 'localPolicy',
            component: () => import('@/views/policy-regulation/local-policy/index.vue'),
            meta: {
              title: '当地政策法规',
            },
          },
          {
            path: 'country-policy',
            name: 'countryPolicy',
            component: () => import('@/views/policy-regulation/country-policy/index.vue'),
            meta: {
              title: '国家政策法规',
            },
          },
          {
            path: 'intellectual-property',
            name: 'intellectualProperty',
            component: () => import('@/views/policy-regulation/intellectual-property/index.vue'),
            meta: {
              title: '知识产权',
            },
          },
        ],
      },

      // 孵化服务
      {
        path: '/hatch-service',
        name: 'hatchService',
        redirect: '/hatch-service/enter-park-step',
        meta: {
          title: '孵化服务',
        },
        children: [
          // {
          //   path: 'enter-park',
          //   name: 'enterPark',
          //   component: () => import('@/views/hatch-service/enter-park/index.vue'),
          //   meta: {
          //     title: '入园条件',
          //   },
          // },
          {
            path: 'enter-park-step',
            name: 'hatchServiceList',
            component: () => import('@/views/hatch-service/enter-park-step/index.vue'),
            meta: {
              title: '入园流程',
            },
          },
          // {
          //   path: 'residency-application',
          //   name: 'residencyApplication',
          //   component: () => import('@/views/hatch-service/residency-application/index.vue'),
          //   meta: {
          //     title: '入驻申请',
          //     // isEmployee: true,
          //     // auth: true,
          //   },
          // },
        ],
      },

      // 个人中心
      {
        path: '/personal-center',
        name: 'personal-center',
        redirect: '/personal-center/profile',
        meta: {
          title: '个人中心',
        },
        children: [
          {
            path: 'profile',
            name: 'profile',
            component: () => import('@/views/personal-center/profile/index.vue'), 
            meta: {
              title: '个人资料',
              auth: true,
            },
          },

          //企业入驻申请
          {
            path: 'enterprise-settlement',
            name: 'enterpriseSettlementRoot',
            component: () => import('@/views/personal-center/enterprise-settlement/index.vue'),
            redirect: '/personal-center/enterprise-settlement/enterprise/immigrant',
            meta: {
              title: '企业入驻申请',
              auth: true,
            },
            children: [
              //大学科技园企业入园申请(迁入企业)
              {
                path: 'enterprise/immigrant',
                name: 'enterpriseImmigrantEnterprise',
                component: () =>
                  import(
                    '@/views/personal-center/enterprise-settlement/enterprise/components/ImmigrantEnterprise.vue'
                  ),
                meta: {
                  title: '大学科技园企业入园申请(新成立企业)',
                  // isEmployee: true,
                  // auth: true,
                },
              },
              //大学科技园企业入园申请(新成立企业)
              {
                path: 'enterprise/first',
                name: 'enterpriseFirstEnterprise',
                component: () =>
                  import(
                    '@/views/personal-center/enterprise-settlement/enterprise/components/FirstEnterprise.vue'
                  ),
                meta: {
                  title: '大学科技园企业入园申请(初创企业)',
                  // isEmployee: true,
                  // auth: true,
                },
              },

              {
                path: 'residency-application/teacher',
                name: 'residencyApplicationTeacher',
                component: () =>
                  import(
                    '@/views/personal-center/enterprise-settlement/residency-application/components/TeacherForm.vue'
                  ),
                meta: {
                  title: '教师申请表',
                  // isEmployee: true,
                  // auth: true,
                },
              },
              {
                path: 'residency-application/student',
                name: 'residencyApplicationStudent',
                component: () =>
                  import(
                    '@/views/personal-center/enterprise-settlement/residency-application/components/StudentForm.vue'
                  ),
                meta: {
                  title: '学生申请表',
                  // isEmployee: true,
                  // auth: true,
                },
              },
              {
                path: 'residency-application/team',
                name: 'residencyApplicationTeam',
                component: () =>
                  import(
                    '@/views/personal-center/enterprise-settlement/residency-application/components/TeamForm.vue'
                  ),
                meta: {
                  title: '团队申请表',
                  // isEmployee: true,
                  // auth: true,
                },
              },
              {
                path: 'residency-application',
                name: 'residencyApplication',
                component: () =>
                  import(
                    '@/views/personal-center/enterprise-settlement/residency-application/index.vue'
                  ),
                meta: {
                  title: '众创空间入驻申请',
                  // isEmployee: true,
                  // auth: true,
                },
              },

              //我的入驻申请
              {
                path: 'my-application',
                name: 'personalCenterResidencyApplication',
                component: () =>
                  import('@/views/personal-center/enterprise-settlement/my-application/index.vue'),
                meta: {
                  title: '我的入驻申请',
                  auth: true,
                },
              },
            ],
          },
          //企业毕业或退出
          {
            path: 'graduation-or-exit',
            name: 'personalCenterGraduationOrExit',
            component: () => import('@/views/personal-center/graduation-or-exit/index.vue'),
            redirect: '/personal-center/graduation-or-exit/kjy-exit',
            meta: {
              title: '企业毕业或退出',
              auth: true,
            },
            children: [
              // {
              //   path: 'graduation',
              //   name: 'graduation',
              //   component: () =>
              //     import('@/views/personal-center/graduation-or-exit/graduation/index.vue'),
              //   meta: {
              //     title: '企业毕业',
              //     auth: true,
              //     isEmployee: true,
              //   },
              // },
              {
                path: 'kjy-exit',
                name: 'kjyExit',
                component: () =>
                  import('@/views/personal-center/graduation-or-exit/kjy-exit/index.vue'),
                meta: {
                  title: '大学科技园退租审批表',
                  auth: true,
                  isEmployee: true,
                },
              },
              {
                path: 'zhongchuang-exit',
                name: 'zhongchuangExit',
                component: () =>
                  import('@/views/personal-center/graduation-or-exit/zhongchuang-exit/index.vue'),
                meta: {
                  title: '众创空间退出审批表',
                  auth: true,
                  isEmployee: true,
                },
              },
                {
                    path: 'my-exit',
                    name: 'myExit',
                    component: () =>
                        import('@/views/personal-center/graduation-or-exit/my-exit/index.vue'),
                    meta: {
                        title: '我的退出',
                        auth: true,
                        isEmployee: true,
                    },
                },
            ],
          },
          //企业资料填报
          {
            path: 'fill-information',
            name: 'personalCenterFillInformation',
            component: () => import('@/views/personal-center/fill-information/index.vue'),
            redirect: '/personal-center/fill-information/kjy-data-fill',
            meta: {
              title: '企业资料填报',
              auth: true,
            },
            children: [
              {
                path: 'kjy-data-fill',
                name: 'kjyDataFill',
                component: () =>
                  import('@/views/personal-center/fill-information/kjy-data-fill/index.vue'),
                meta: {
                  title: '大学科技园企业数据填报',
                  auth: true,
                  isEmployee: true,
                },
              },
              {
                path: 'zhongchuang-data-fill',
                name: 'zhongchuangDataFill',
                component: () =>
                  import(
                    '@/views/personal-center/fill-information/zhongchuang-data-fill/index.vue'
                  ),
                meta: {
                  title: '众创空间企业数据填报',
                  auth: true,
                  isEmployee: true,
                },
              },
              {
                path: 'hatch-yeardata-fill',
                name: 'HatchYearDataFill',
                component: () =>
                    import(
                        '@/views/personal-center/fill-information/Hatch-Yeardata-fill/index.vue'
                        ),
                meta: {
                  title: '科技型企业孵化器在孵（当年毕业）企业年度数据填报',
                  auth: true,
                  isEmployee: true,
                },
              },
              {
                path: 'hatch-quarterdata-fill',
                name: 'HatchQuarterDataFill',
                component: () =>
                    import(
                        '@/views/personal-center/fill-information/Hatch-quarterdata-fill/index.vue'
                        ),
                meta: {
                  title: '孵化器季度情况监测表数据填报',
                  auth: true,
                  isEmployee: true,
                },
              },
              {
                path: 'my-application',
                name: 'personalCenterStorageApplication',
                component: () =>
                  import('@/views/personal-center/fill-information/my-application/index.vue'),
                meta: {
                  title: '我的高企认定入库申请',
                  auth: true,
                  isEmployee: true,
                },
              },
              //我的校企合作
              {
                path: 'my-cooperate',
                name: 'personalCenterCooperate',
                component: () =>
                  import('@/views/personal-center/fill-information/my-cooperate/index.vue'),
                meta: {
                  title: '我的校企合作',
                  auth: true,
                },
              },
              //我的数据填报
              {
                path: 'my-datafrom',
                name: 'personaldatafrom',
                component: () =>
                  import('@/views/personal-center/fill-information/my-datafrom/index.vue'),
                meta: {
                  title: '我的数据填报',
                  auth: true,
                },
              },
              //我的奖项
              {
                path: 'my-award',
                name: 'personalCenterAward',
                component: () =>
                  import('@/views/personal-center/fill-information/my-award/index.vue'),
                meta: {
                  title: '我的奖项',
                  auth: true,
                },
              },
              //我的专利
              {
                path: 'my-patent',
                name: 'personalCenterPatent',
                component: () =>
                  import('@/views/personal-center/fill-information/my-patent/index.vue'),
                meta: {
                  title: '我的知识产权',
                  auth: true,
                },
              },
              {
                path: 'storage-application',
                name: 'storageApplication',
                component: () =>
                  import('@/views/personal-center/fill-information/storage-application/index.vue'),
                meta: {
                  title: '高企入库申请',
                  isEmployee: true,
                  auth: true,
                },
              },
              {
                path: 'storage-application-small',
                name: 'storageApplicationSmall',
                component: () =>
                  import(
                    '@/views/personal-center/fill-information/storage-application-small/index.vue'
                  ),
                meta: {
                  title: '中小企业入库申请',
                  isEmployee: true,
                  auth: true,
                },
              },
              {
                path:'my-qualification',
                name:'myQualification',
                component:() => import('@/views/personal-center/fill-information/my-qualification/index.vue'),
                meta:{
                  title:'我的资质',
                  auth:true,
                }
              }
            ],
          },
          {
            path: 'needs',
            name: 'personalCenterNeeds',
            component: () => import('@/views/personal-center/needs/index.vue'),
            meta: {
              title: '企业需求栏',
              auth: true,
            },
          },
          {
            path: 'achievements',
            name: 'personalCenterAchievements',
            component: () => import('@/views/personal-center/achievements/index.vue'),
            meta: {
              title: '我发布的成果',
              auth: true,
            },
          },
          {
            path: 'meeting-list',
            name: 'personalCenterMeetingList',
            component: () => import('@/views/personal-center/meeting-list/index.vue'),
            meta: {
              title: '我预定的会议',
              auth: true,
            },
          },
          //费用缴纳
          {
            path: 'payment',
            name: 'personalCenterPayment',
            component: () => import('@/views/personal-center/payment/index.vue'),
            meta: {
              title: '费用缴纳',
              auth: true,
            },
          },
        ],
      },
    ],
  },
  {
    path: '/single-meeting',
    name: 'singleMeeting',
    component: () => import('@/views/single-meeting/index.vue'),
    meta: {
      auth: true,
    },
  },
  {
    path: '/multi-meeting',
    name: 'multiMeeting',
    component: () => import('@/views/multi-meeting/index.vue'),
    meta: {
      auth: true,
    },
  },
  {
    path: '/notice-detail',
    name: 'noticeDetail',
    component: () => import('@/views/notice-detail/index.vue'),
  },
  {
    path: '/enterprise-activity-detail',
    name: 'EnterpriseActivityDetail',
    component: () => import('@/views/enterprise-activity-detail/index.vue'),
  },
  {
    path: '/kjydataprint',
    name: 'kjydataprint',
    component: () => import('@/views/print/kjy-data-fill.vue'),
  },
  {
    path: '/zhongchuangdataprint',
    name: 'zhongchuangdataprint',
    component: () => import('@/views/print/zhongchuang-data-fill.vue'),
  },

  {
    path: '/hatchyeardataprint',
    name: 'hatchyeardataprint',
    component: () => import('@/views/print/Hatch-Yeardata-fill.vue'),
  },
  {
    path: '/HatchquaterdataPrint',
    name: 'HatchquaterdataPrint',
    component: () => import('@/views/print/Hatch-quaterdataPrint.vue'),
  },
  {
    path: '/kjyexitprint',
    name: 'kjyexitprint',
    component: () => import('@/views/print/exit-jky.vue'),
  },
  {
    path: '/zhongchuangexitprint',
    name: 'zhongchuangexitprint',
    component: () => import('@/views/print/exit-zhongchuang.vue'),
  },
  // 根级打印页面路由
  {
    path: '/immigrantenterpriseprint',
    name: 'immigrantenterpriseprint',
    component: () => import('@/views/print/ImmigrantEnterprisePrint.vue'),
    meta: {
      title: '迁入企业申请打印',
      auth: true,
    },
  },
  {
    path: '/firstenterpriseprint',
    name: 'firstenterpriseprint',
    component: () => import('@/views/print/FirstEnterprisePrint.vue'),
    meta: {
      title: '新成立企业申请打印',
      auth: true,
    },
  },
  {
    path: '/residencyapplicationprint',
    name: 'residencyapplicationprint',
    component: () => import('@/views/print/ResidencyApplicationPrint.vue'),
    meta: {
      title: '众创空间入驻申请打印',
      auth: true,
    },
  },


  {
    path: '/kjy-application-print',
    name: 'kjyApplicationPrint',
    component: () => import('@/views/print/kjy-application.vue'),
  },
  {
    path: '/kjydataprint',
    name: 'kjydataprint',
    component: () => import('@/views/print/kjy-data-fill.vue'),
  },
  {
    path: '/zhongchuangdataprint',
    name: 'zhongchuangdataprint',
    component: () => import('@/views/print/zhongchuang-data-fill.vue'),
  }

];

export default routes;
